package sharewithus.business.dao;

import java.util.List;

/** 
 * @ClassName: IRelationShipDAO 
 * @Description: 
 * @author chenyun
 * @date 2012-5-15 上午09:53:25 
 */
public interface IRelationShipDAO {
	
	public void addRelationShipInCache(String uid, String follower) throws Exception;
	
	public void removeRelationShipInCache(String uid, String follower) throws Exception;
	
	public List<String> getFansFromCache(String uid) throws Exception;
	
	public List<String> getFansFromCache(String uid, long startIndex, long endIndex) throws Exception;
	
	public List<String> getFollwersFromCache(String uid) throws Exception;
	
	public List<String> getFollwersFromCache(String uid, long startIndex, long endIndex) throws Exception;
	
	public void putAddRSMsg2Queue(String uid, String follower) throws Exception;
	
	public void putRemoveRSMsg2Queue(String uid, String follower) throws Exception;
	
	public long getFansNum(String uid) throws Exception;
	
	public long getFollwerNum(String uid) throws Exception;
}

